export default class {
    constructor(props){
        this.$el = props.el;
        this.element = layui.element;
        this.form = layui.form;
        this.laydate = layui.laydate;
        this.upload = layui.upload;
        this.table = layui.table;
        Promise.resolve().then(()=>{this.init()})
        // setTimeout(()=>{this.init()},0)
    }

    init(){
        this.$el= $(this.$el);
        this.render();
        this.layui();
        this.mounted();
        this.handle();
    }

    render(){}

    handle(){}

    mounted(){}
    
    layui(){}
}